package com.woniuxy.his.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 医生表
 * </p>
 *
 * @author Lucas
 * @since 2021-08-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("his_doctor")
public class Doctor implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "doctor_id", type = IdType.AUTO)
    private Integer doctorId;

    /**
     * 医生姓名
     */
    private String doctorName;

    /**
     * 医生性别
     */
    private String doctorGender;

    /**
     * 医生年龄
     */
    private Integer doctorAge;

    /**
     * 医生电话
     */
    private String doctorTel;

    /**
     * 所属职位
     */
    private String doctorPosition;

    /**
     * 科室ID
     */
    private Integer depId;

    /**
     * 登录名
     */
    private String username;

    /**
     * 密码
     */
    private String password;

    /**
     * 邮箱
     */
    private String email;

    /**
     * 记录新增时间
     */
    private Date doctorAddTime;

    /**
     * 记录修改时间
     */
    private Date doctorUpdateTime;

    private Integer userId;//对应userid

    private String doctorText;//医生简介

    private String doctorPic;//图片

}
